<html>
<head>
<meta charset="UTF-8">
<title>应用模型结构树查看</title>
	<link  id="easyuiTheme" href="../../static/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
	<link href="../../static/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
	<link href="../../static/css/esaas-easyui-edit.css" rel="stylesheet" type="text/css"/>
	<script src="../../static/easyui/jquery.min.js" type="text/javascript"></script>
	<script src="../../static/easyui/jquery.cookie.js" type="text/javascript"></script>
	<script src="../../static/easyui/ui-theme.js" type="text/javascript"></script>
	<script src="../../static/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../static/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
	<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
	<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
	<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
	<script src="../../ffres/dict/all.js" type="text/javascript"></script>
	<a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<body class="easyui-layout" scroll="no">
	<form id="ff" method="post">
		<div class="esaas-info-title">应用模型结构树信息</div>
		<table class="esaas-info-edit-table">
			<tr>
				<td width="15%" align="right">目录包标识：</td>
				<td width="35%"><input class="easyui-textbox" type="text" readOnly
					name="packageId" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">目录包代码：</td>
				<td width="35%"><input class="easyui-textbox" type="text" 
					name="packageCode" data-options="required:false" readonly
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">目录包名称：</td>
				<td width="35%"><input class="easyui-textbox" type="text" 
					name="packageName" data-options="required:false" readonly
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">上级目录包标识：</td>
				<td width="35%"><input class="easyui-textbox" type="text" 
					name="packageAbvId" data-options="required:false" readOnly
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">应用模型分类：</td>
				<td width="35%"><select class="easyui-combobox"
					id="appModelCatalog" name="appModelCatalog" readOnly
					style="width: 100%; height: 25px;" 
					data-options="required:false,editable:false,valueField:'enname',textField:'cnname',data:APP_MODEL_CATALOG">
				</select></td>
				<td width="15%" align="right">排列顺序：</td>
				<td width="35%"><input class="easyui-textbox" type="text" 
					name="orderValue" data-options="required:false" readonly
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr hidden="true">
				<td width="15%" align="right">创建者：</td>
				<td width="35%"><input class="easyui-textbox" type="text" 
					name="createUser" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">创建时间：</td>
				<td width="35%"><input class="easyui-textbox" type="text" 
					name="createTime" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr hidden="true">
				<td width="15%" align="right">最后修改人：</td>
				<td width="35%"><input class="easyui-textbox" type="text" 
					name="lastUpdateUser" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">最后更新时间：</td>
				<td width="35%"><input class="easyui-textbox" type="text" 
					name="lastUpdateTime" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>

			<tr hidden="true">
				<td width="15%" align="right">应用唯一标识：</td>
				<td width="35%"><input class="easyui-textbox" type="text"
					id="appId"
					name="appId" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>

		</table>
	</form>
	<div style="text-align: center; padding: 15px">
<a          href="javascript:void(0)" class="easyui-linkbutton"
			onclick="closeForm()">&nbsp;关&nbsp;闭&nbsp;</a>
	</div>
	<script>
		var appId = $.getUrlParam('appId');
		$(function() {
			var packageId = $.getUrlParam('packageId');
			$('#appId').textbox('setValue', appId);
			$.restfulGet('../../api/app/model/tree/'+ packageId,null,function(data){
					$('#ff').form('load', {
						packageId : data.rows.packageId,
						packageCode : data.rows.packageCode,
						packageName : data.rows.packageName,
						packageAbvId : data.rows.packageAbvId,
						appModelCatalog : data.rows.appModelCatalog,
						orderValue : data.rows.orderValue,
						createUser : data.rows.createUser,
						createTime : data.rows.createTime,
						lastUpdateUser : data.rows.lastUpdateUser,
						lastUpdateTime : data.rows.lastUpdateTime

					});					
			});
		});
		function closeForm(){
			window.parent.JLEUtil.closewin();
		}
	</script>
</body>
</html>
